import request from '@/utils/request';

// 生成激活码
export function generateCode(data) {
    return request.post('/api/admin/activationCode/generate', data);
}

// 查询激活码
export function page(data) {
    return request.post('/api/admin/activationCode/page', data);
}

// 删除激活码
export function batchDelete(data) {
    return request.post('/api/admin/activationCode/delete', data);
}

export function update(data) {
    return request.post('/api/admin/activationCode/update', data);
}


